package com.woniuxy.entitys;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbMalfunctionExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public TbMalfunctionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMaidIsNull() {
            addCriterion("maid is null");
            return (Criteria) this;
        }

        public Criteria andMaidIsNotNull() {
            addCriterion("maid is not null");
            return (Criteria) this;
        }

        public Criteria andMaidEqualTo(Integer value) {
            addCriterion("maid =", value, "maid");
            return (Criteria) this;
        }

        public Criteria andMaidNotEqualTo(Integer value) {
            addCriterion("maid <>", value, "maid");
            return (Criteria) this;
        }

        public Criteria andMaidGreaterThan(Integer value) {
            addCriterion("maid >", value, "maid");
            return (Criteria) this;
        }

        public Criteria andMaidGreaterThanOrEqualTo(Integer value) {
            addCriterion("maid >=", value, "maid");
            return (Criteria) this;
        }

        public Criteria andMaidLessThan(Integer value) {
            addCriterion("maid <", value, "maid");
            return (Criteria) this;
        }

        public Criteria andMaidLessThanOrEqualTo(Integer value) {
            addCriterion("maid <=", value, "maid");
            return (Criteria) this;
        }

        public Criteria andMaidIn(List<Integer> values) {
            addCriterion("maid in", values, "maid");
            return (Criteria) this;
        }

        public Criteria andMaidNotIn(List<Integer> values) {
            addCriterion("maid not in", values, "maid");
            return (Criteria) this;
        }

        public Criteria andMaidBetween(Integer value1, Integer value2) {
            addCriterion("maid between", value1, value2, "maid");
            return (Criteria) this;
        }

        public Criteria andMaidNotBetween(Integer value1, Integer value2) {
            addCriterion("maid not between", value1, value2, "maid");
            return (Criteria) this;
        }

        public Criteria andMatypeIsNull() {
            addCriterion("matype is null");
            return (Criteria) this;
        }

        public Criteria andMatypeIsNotNull() {
            addCriterion("matype is not null");
            return (Criteria) this;
        }

        public Criteria andMatypeEqualTo(String value) {
            addCriterion("matype =", value, "matype");
            return (Criteria) this;
        }

        public Criteria andMatypeNotEqualTo(String value) {
            addCriterion("matype <>", value, "matype");
            return (Criteria) this;
        }

        public Criteria andMatypeGreaterThan(String value) {
            addCriterion("matype >", value, "matype");
            return (Criteria) this;
        }

        public Criteria andMatypeGreaterThanOrEqualTo(String value) {
            addCriterion("matype >=", value, "matype");
            return (Criteria) this;
        }

        public Criteria andMatypeLessThan(String value) {
            addCriterion("matype <", value, "matype");
            return (Criteria) this;
        }

        public Criteria andMatypeLessThanOrEqualTo(String value) {
            addCriterion("matype <=", value, "matype");
            return (Criteria) this;
        }

        public Criteria andMatypeLike(String value) {
            addCriterion("matype like", value, "matype");
            return (Criteria) this;
        }

        public Criteria andMatypeNotLike(String value) {
            addCriterion("matype not like", value, "matype");
            return (Criteria) this;
        }

        public Criteria andMatypeIn(List<String> values) {
            addCriterion("matype in", values, "matype");
            return (Criteria) this;
        }

        public Criteria andMatypeNotIn(List<String> values) {
            addCriterion("matype not in", values, "matype");
            return (Criteria) this;
        }

        public Criteria andMatypeBetween(String value1, String value2) {
            addCriterion("matype between", value1, value2, "matype");
            return (Criteria) this;
        }

        public Criteria andMatypeNotBetween(String value1, String value2) {
            addCriterion("matype not between", value1, value2, "matype");
            return (Criteria) this;
        }

        public Criteria andMadescIsNull() {
            addCriterion("madesc is null");
            return (Criteria) this;
        }

        public Criteria andMadescIsNotNull() {
            addCriterion("madesc is not null");
            return (Criteria) this;
        }

        public Criteria andMadescEqualTo(String value) {
            addCriterion("madesc =", value, "madesc");
            return (Criteria) this;
        }

        public Criteria andMadescNotEqualTo(String value) {
            addCriterion("madesc <>", value, "madesc");
            return (Criteria) this;
        }

        public Criteria andMadescGreaterThan(String value) {
            addCriterion("madesc >", value, "madesc");
            return (Criteria) this;
        }

        public Criteria andMadescGreaterThanOrEqualTo(String value) {
            addCriterion("madesc >=", value, "madesc");
            return (Criteria) this;
        }

        public Criteria andMadescLessThan(String value) {
            addCriterion("madesc <", value, "madesc");
            return (Criteria) this;
        }

        public Criteria andMadescLessThanOrEqualTo(String value) {
            addCriterion("madesc <=", value, "madesc");
            return (Criteria) this;
        }

        public Criteria andMadescLike(String value) {
            addCriterion("madesc like", value, "madesc");
            return (Criteria) this;
        }

        public Criteria andMadescNotLike(String value) {
            addCriterion("madesc not like", value, "madesc");
            return (Criteria) this;
        }

        public Criteria andMadescIn(List<String> values) {
            addCriterion("madesc in", values, "madesc");
            return (Criteria) this;
        }

        public Criteria andMadescNotIn(List<String> values) {
            addCriterion("madesc not in", values, "madesc");
            return (Criteria) this;
        }

        public Criteria andMadescBetween(String value1, String value2) {
            addCriterion("madesc between", value1, value2, "madesc");
            return (Criteria) this;
        }

        public Criteria andMadescNotBetween(String value1, String value2) {
            addCriterion("madesc not between", value1, value2, "madesc");
            return (Criteria) this;
        }

        public Criteria andCidIsNull() {
            addCriterion("cid is null");
            return (Criteria) this;
        }

        public Criteria andCidIsNotNull() {
            addCriterion("cid is not null");
            return (Criteria) this;
        }

        public Criteria andCidEqualTo(Integer value) {
            addCriterion("cid =", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotEqualTo(Integer value) {
            addCriterion("cid <>", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThan(Integer value) {
            addCriterion("cid >", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThanOrEqualTo(Integer value) {
            addCriterion("cid >=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThan(Integer value) {
            addCriterion("cid <", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThanOrEqualTo(Integer value) {
            addCriterion("cid <=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidIn(List<Integer> values) {
            addCriterion("cid in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotIn(List<Integer> values) {
            addCriterion("cid not in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidBetween(Integer value1, Integer value2) {
            addCriterion("cid between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotBetween(Integer value1, Integer value2) {
            addCriterion("cid not between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andBidIsNull() {
            addCriterion("bid is null");
            return (Criteria) this;
        }

        public Criteria andBidIsNotNull() {
            addCriterion("bid is not null");
            return (Criteria) this;
        }

        public Criteria andBidEqualTo(Integer value) {
            addCriterion("bid =", value, "bid");
            return (Criteria) this;
        }

        public Criteria andBidNotEqualTo(Integer value) {
            addCriterion("bid <>", value, "bid");
            return (Criteria) this;
        }

        public Criteria andBidGreaterThan(Integer value) {
            addCriterion("bid >", value, "bid");
            return (Criteria) this;
        }

        public Criteria andBidGreaterThanOrEqualTo(Integer value) {
            addCriterion("bid >=", value, "bid");
            return (Criteria) this;
        }

        public Criteria andBidLessThan(Integer value) {
            addCriterion("bid <", value, "bid");
            return (Criteria) this;
        }

        public Criteria andBidLessThanOrEqualTo(Integer value) {
            addCriterion("bid <=", value, "bid");
            return (Criteria) this;
        }

        public Criteria andBidIn(List<Integer> values) {
            addCriterion("bid in", values, "bid");
            return (Criteria) this;
        }

        public Criteria andBidNotIn(List<Integer> values) {
            addCriterion("bid not in", values, "bid");
            return (Criteria) this;
        }

        public Criteria andBidBetween(Integer value1, Integer value2) {
            addCriterion("bid between", value1, value2, "bid");
            return (Criteria) this;
        }

        public Criteria andBidNotBetween(Integer value1, Integer value2) {
            addCriterion("bid not between", value1, value2, "bid");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameIsNull() {
            addCriterion("declarant_name is null");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameIsNotNull() {
            addCriterion("declarant_name is not null");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameEqualTo(String value) {
            addCriterion("declarant_name =", value, "declarantName");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameNotEqualTo(String value) {
            addCriterion("declarant_name <>", value, "declarantName");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameGreaterThan(String value) {
            addCriterion("declarant_name >", value, "declarantName");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameGreaterThanOrEqualTo(String value) {
            addCriterion("declarant_name >=", value, "declarantName");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameLessThan(String value) {
            addCriterion("declarant_name <", value, "declarantName");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameLessThanOrEqualTo(String value) {
            addCriterion("declarant_name <=", value, "declarantName");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameLike(String value) {
            addCriterion("declarant_name like", value, "declarantName");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameNotLike(String value) {
            addCriterion("declarant_name not like", value, "declarantName");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameIn(List<String> values) {
            addCriterion("declarant_name in", values, "declarantName");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameNotIn(List<String> values) {
            addCriterion("declarant_name not in", values, "declarantName");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameBetween(String value1, String value2) {
            addCriterion("declarant_name between", value1, value2, "declarantName");
            return (Criteria) this;
        }

        public Criteria andDeclarantNameNotBetween(String value1, String value2) {
            addCriterion("declarant_name not between", value1, value2, "declarantName");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneIsNull() {
            addCriterion("declarant_phone is null");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneIsNotNull() {
            addCriterion("declarant_phone is not null");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneEqualTo(String value) {
            addCriterion("declarant_phone =", value, "declarantPhone");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneNotEqualTo(String value) {
            addCriterion("declarant_phone <>", value, "declarantPhone");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneGreaterThan(String value) {
            addCriterion("declarant_phone >", value, "declarantPhone");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("declarant_phone >=", value, "declarantPhone");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneLessThan(String value) {
            addCriterion("declarant_phone <", value, "declarantPhone");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneLessThanOrEqualTo(String value) {
            addCriterion("declarant_phone <=", value, "declarantPhone");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneLike(String value) {
            addCriterion("declarant_phone like", value, "declarantPhone");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneNotLike(String value) {
            addCriterion("declarant_phone not like", value, "declarantPhone");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneIn(List<String> values) {
            addCriterion("declarant_phone in", values, "declarantPhone");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneNotIn(List<String> values) {
            addCriterion("declarant_phone not in", values, "declarantPhone");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneBetween(String value1, String value2) {
            addCriterion("declarant_phone between", value1, value2, "declarantPhone");
            return (Criteria) this;
        }

        public Criteria andDeclarantPhoneNotBetween(String value1, String value2) {
            addCriterion("declarant_phone not between", value1, value2, "declarantPhone");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusIsNull() {
            addCriterion("declarant_status is null");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusIsNotNull() {
            addCriterion("declarant_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusEqualTo(String value) {
            addCriterion("declarant_status =", value, "declarantStatus");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusNotEqualTo(String value) {
            addCriterion("declarant_status <>", value, "declarantStatus");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusGreaterThan(String value) {
            addCriterion("declarant_status >", value, "declarantStatus");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusGreaterThanOrEqualTo(String value) {
            addCriterion("declarant_status >=", value, "declarantStatus");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusLessThan(String value) {
            addCriterion("declarant_status <", value, "declarantStatus");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusLessThanOrEqualTo(String value) {
            addCriterion("declarant_status <=", value, "declarantStatus");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusLike(String value) {
            addCriterion("declarant_status like", value, "declarantStatus");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusNotLike(String value) {
            addCriterion("declarant_status not like", value, "declarantStatus");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusIn(List<String> values) {
            addCriterion("declarant_status in", values, "declarantStatus");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusNotIn(List<String> values) {
            addCriterion("declarant_status not in", values, "declarantStatus");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusBetween(String value1, String value2) {
            addCriterion("declarant_status between", value1, value2, "declarantStatus");
            return (Criteria) this;
        }

        public Criteria andDeclarantStatusNotBetween(String value1, String value2) {
            addCriterion("declarant_status not between", value1, value2, "declarantStatus");
            return (Criteria) this;
        }

        public Criteria andDeclarantTimeIsNull() {
            addCriterion("declarant_time is null");
            return (Criteria) this;
        }

        public Criteria andDeclarantTimeIsNotNull() {
            addCriterion("declarant_time is not null");
            return (Criteria) this;
        }

        public Criteria andDeclarantTimeEqualTo(Date value) {
            addCriterion("declarant_time =", value, "declarantTime");
            return (Criteria) this;
        }

        public Criteria andDeclarantTimeNotEqualTo(Date value) {
            addCriterion("declarant_time <>", value, "declarantTime");
            return (Criteria) this;
        }

        public Criteria andDeclarantTimeGreaterThan(Date value) {
            addCriterion("declarant_time >", value, "declarantTime");
            return (Criteria) this;
        }

        public Criteria andDeclarantTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("declarant_time >=", value, "declarantTime");
            return (Criteria) this;
        }

        public Criteria andDeclarantTimeLessThan(Date value) {
            addCriterion("declarant_time <", value, "declarantTime");
            return (Criteria) this;
        }

        public Criteria andDeclarantTimeLessThanOrEqualTo(Date value) {
            addCriterion("declarant_time <=", value, "declarantTime");
            return (Criteria) this;
        }

        public Criteria andDeclarantTimeIn(List<Date> values) {
            addCriterion("declarant_time in", values, "declarantTime");
            return (Criteria) this;
        }

        public Criteria andDeclarantTimeNotIn(List<Date> values) {
            addCriterion("declarant_time not in", values, "declarantTime");
            return (Criteria) this;
        }

        public Criteria andDeclarantTimeBetween(Date value1, Date value2) {
            addCriterion("declarant_time between", value1, value2, "declarantTime");
            return (Criteria) this;
        }

        public Criteria andDeclarantTimeNotBetween(Date value1, Date value2) {
            addCriterion("declarant_time not between", value1, value2, "declarantTime");
            return (Criteria) this;
        }

        public Criteria andSoftdelIsNull() {
            addCriterion("softdel is null");
            return (Criteria) this;
        }

        public Criteria andSoftdelIsNotNull() {
            addCriterion("softdel is not null");
            return (Criteria) this;
        }

        public Criteria andSoftdelEqualTo(Integer value) {
            addCriterion("softdel =", value, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelNotEqualTo(Integer value) {
            addCriterion("softdel <>", value, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelGreaterThan(Integer value) {
            addCriterion("softdel >", value, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelGreaterThanOrEqualTo(Integer value) {
            addCriterion("softdel >=", value, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelLessThan(Integer value) {
            addCriterion("softdel <", value, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelLessThanOrEqualTo(Integer value) {
            addCriterion("softdel <=", value, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelIn(List<Integer> values) {
            addCriterion("softdel in", values, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelNotIn(List<Integer> values) {
            addCriterion("softdel not in", values, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelBetween(Integer value1, Integer value2) {
            addCriterion("softdel between", value1, value2, "softdel");
            return (Criteria) this;
        }

        public Criteria andSoftdelNotBetween(Integer value1, Integer value2) {
            addCriterion("softdel not between", value1, value2, "softdel");
            return (Criteria) this;
        }

        public Criteria andBeiyong1IsNull() {
            addCriterion("beiyong1 is null");
            return (Criteria) this;
        }

        public Criteria andBeiyong1IsNotNull() {
            addCriterion("beiyong1 is not null");
            return (Criteria) this;
        }

        public Criteria andBeiyong1EqualTo(String value) {
            addCriterion("beiyong1 =", value, "beiyong1");
            return (Criteria) this;
        }

        public Criteria andBeiyong1NotEqualTo(String value) {
            addCriterion("beiyong1 <>", value, "beiyong1");
            return (Criteria) this;
        }

        public Criteria andBeiyong1GreaterThan(String value) {
            addCriterion("beiyong1 >", value, "beiyong1");
            return (Criteria) this;
        }

        public Criteria andBeiyong1GreaterThanOrEqualTo(String value) {
            addCriterion("beiyong1 >=", value, "beiyong1");
            return (Criteria) this;
        }

        public Criteria andBeiyong1LessThan(String value) {
            addCriterion("beiyong1 <", value, "beiyong1");
            return (Criteria) this;
        }

        public Criteria andBeiyong1LessThanOrEqualTo(String value) {
            addCriterion("beiyong1 <=", value, "beiyong1");
            return (Criteria) this;
        }

        public Criteria andBeiyong1Like(String value) {
            addCriterion("beiyong1 like", value, "beiyong1");
            return (Criteria) this;
        }

        public Criteria andBeiyong1NotLike(String value) {
            addCriterion("beiyong1 not like", value, "beiyong1");
            return (Criteria) this;
        }

        public Criteria andBeiyong1In(List<String> values) {
            addCriterion("beiyong1 in", values, "beiyong1");
            return (Criteria) this;
        }

        public Criteria andBeiyong1NotIn(List<String> values) {
            addCriterion("beiyong1 not in", values, "beiyong1");
            return (Criteria) this;
        }

        public Criteria andBeiyong1Between(String value1, String value2) {
            addCriterion("beiyong1 between", value1, value2, "beiyong1");
            return (Criteria) this;
        }

        public Criteria andBeiyong1NotBetween(String value1, String value2) {
            addCriterion("beiyong1 not between", value1, value2, "beiyong1");
            return (Criteria) this;
        }

        public Criteria andBeiyong2IsNull() {
            addCriterion("beiyong2 is null");
            return (Criteria) this;
        }

        public Criteria andBeiyong2IsNotNull() {
            addCriterion("beiyong2 is not null");
            return (Criteria) this;
        }

        public Criteria andBeiyong2EqualTo(String value) {
            addCriterion("beiyong2 =", value, "beiyong2");
            return (Criteria) this;
        }

        public Criteria andBeiyong2NotEqualTo(String value) {
            addCriterion("beiyong2 <>", value, "beiyong2");
            return (Criteria) this;
        }

        public Criteria andBeiyong2GreaterThan(String value) {
            addCriterion("beiyong2 >", value, "beiyong2");
            return (Criteria) this;
        }

        public Criteria andBeiyong2GreaterThanOrEqualTo(String value) {
            addCriterion("beiyong2 >=", value, "beiyong2");
            return (Criteria) this;
        }

        public Criteria andBeiyong2LessThan(String value) {
            addCriterion("beiyong2 <", value, "beiyong2");
            return (Criteria) this;
        }

        public Criteria andBeiyong2LessThanOrEqualTo(String value) {
            addCriterion("beiyong2 <=", value, "beiyong2");
            return (Criteria) this;
        }

        public Criteria andBeiyong2Like(String value) {
            addCriterion("beiyong2 like", value, "beiyong2");
            return (Criteria) this;
        }

        public Criteria andBeiyong2NotLike(String value) {
            addCriterion("beiyong2 not like", value, "beiyong2");
            return (Criteria) this;
        }

        public Criteria andBeiyong2In(List<String> values) {
            addCriterion("beiyong2 in", values, "beiyong2");
            return (Criteria) this;
        }

        public Criteria andBeiyong2NotIn(List<String> values) {
            addCriterion("beiyong2 not in", values, "beiyong2");
            return (Criteria) this;
        }

        public Criteria andBeiyong2Between(String value1, String value2) {
            addCriterion("beiyong2 between", value1, value2, "beiyong2");
            return (Criteria) this;
        }

        public Criteria andBeiyong2NotBetween(String value1, String value2) {
            addCriterion("beiyong2 not between", value1, value2, "beiyong2");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}